package com.atstudy.exception;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/22 9:23
 * @copyright: 博为峰
 */
public class ExceptionDemo01 {
    public static void main(String[] args) {
//        OutOfMemoryError
//        int[] ints = new int[1024 * 1024 * 1024];
//        System.out.println("29期");
//        m1(); //java.lang.StackOverflowError
    }

    public static void m1(){
        System.out.println("博为峰");
        m1();
    }
}
